part of 'exercise_tools_cubit.dart';

abstract class ExerciseToolsState {}

class ExerciseToolsInitial extends ExerciseToolsState {}

class ExerciseToolsLoading extends ExerciseToolsState {}

class ExerciseToolsError extends ExerciseToolsState {}

class ExerciseToolsDone extends ExerciseToolsState {}
class SelectAllExerciseTools extends ExerciseToolsState {}

class ExerciseToolsUpdate extends ExerciseToolsState {}

class SelectModeUpdate extends ExerciseToolsState {
  final bool mode;
  final ToolModel? sport;

  SelectModeUpdate({required this.mode, this.sport});
}

class SelectTool extends ExerciseToolsState {
  final ToolModel sport;
  final bool isSelected;

  SelectTool({required this.sport, required this.isSelected});
}

class AddToolToExerciseLoading extends ExerciseToolsState {
  final ToolModel sport;
  final Exercise gym;

  AddToolToExerciseLoading({required this.sport, required this.gym});
}

class AddToolToExerciseError extends ExerciseToolsState {
  final ToolModel sport;
  final Exercise gym;
  final String massage;
  final int stateCode;

  AddToolToExerciseError({
    required this.sport,
    required this.massage,
    required this.stateCode,
    required this.gym,
  });
}

class AddToolToExerciseDone extends ExerciseToolsState {
  final ToolModel sport;
  final Exercise gym;
  final ExerciseTool gymSport;

  AddToolToExerciseDone({
    required this.sport,
    required this.gym,
    required this.gymSport,
  });
}
